package com.jintoufs.domain.constants;

/**
 * 常量类，用于存放一些常量的声明定义
 *
 * @author fuhuo.zhang Date:2015-03-17
 */
public class Constants {

    public static final String NOAUTH = "1";

    /**
     * 用户默认密码
     */
    public static final String USER_DEFAULT_PASSWORD = "666666";

    /**
     * 平台默认分润比例 key
     */
    public static final String DEFAULT_DIVIDED_NUMBER = "divided";

    /**
     * 平台默认税率
     */
    public static final String DEFAULT_TAX = "tax";

    /**
     * 默认邮费的字典key
     */
    public static final String DEFALUT_TRANS_FEE = "transfee";
    /**
     * 默认提现手续费比例
     */
    public static final String DEFALUT_SX_FEE = "sxfee";

    /**
     * 强制退出
     */
    public static final String SESSION_FORCE_LOGOUT_KEY = "session.force.logout";
    /**
     * 当前登陆的用户
     */
    public static final String CURRENT_USER = "user";
    public static final Byte USER_PASSWORD_NOT_MODIFY = 0;
    public static final Byte USER_PASSWORD_MODIFIED = 1;
    public static final Byte LOG_TYPE_0 = 0;//类型 :0-前置通知；1-异常通知
    public static final Byte LOG_TYPE_1 = 1;//类型 :0-前置通知；1-异常通知

    /**
     * 请求消息类型：事件
     */
    public static final String REQ_MESSAGE_TYPE_EVENT = "event";
    /**
     * 事件类型：subscribe(关注)
     */
    public static final String EVENT_TYPE_SUBSCRIBE = "subscribe";

    /**
     * 事件类型：unsubscribe(取消关注)
     */
    public static final String EVENT_TYPE_UNSUBSCRIBE = "unsubscribe";

    /**
     * banner类型
     * */
    public static final Integer BANNER_TYPE_INDEX = 0;
    public static final Integer BANNER_TYPE_HOTEL= 1;
    public static final Integer BANNER_TYPE_SCENE = 2;
    public static final Integer BANNER_TYPE_ROUTE = 3;

    public static final String CATEGORY_LEVEL_1 = "L1";

    public static final String SYSTEM_ERROR = "系统异常！";
/**
 * 推荐
 * */
    public static final String PRODUCT_RECOMMEND= "1";
    public static final String PRODUCT_UNRECOMMEND= "0";

    /***************************
     *       订单状态          *
     ***************************/
    /**
     * 未支付
     */
    public static final String ORDER_STATUS_UNPAY = "0";
    /**
     * 已支付
     */
    public static final String ORDER_STATUS_PAYED = "1";
    /**
     * 已取消
     */
    public static final String ORDER_STATUS_CANCEL = "2";
    /**
     * 退款中
     */
    public static final String ORDER_STATUS_ROLLING = "3";
    /**
     * 已退款
     */
    public static final String ORDER_STATUS_ROLLED = "4";
    /**
     * 供应商已确认
     */
    public static final String ORDER_STATUS_CONFIRM = "5";
    /**
     * 订单已完成
     */
    public static final String ORDER_STATUS_OVER = "6";
    /**
     * 交易失败
     */
    public static final String ORDER_STATUS_FAIL = "6";

    /**订单类型*****/
    public static final String ORDER_TYPE_SCENE = "scene";
    public static final String ORDER_TYPE_HOTEL = "hotel";
    public static final String ORDER_TYPE_TOUR = "tour";

    /**账单类型 *****/
    public static final String ACCOUNT_IN = "1";
    public static final String ACCOUNT_OUT = "2";

    /****排序类型****/
    public static final String ORDER_DEFAULT = "default";
    public static final String ORDER_PRICE = "price";

    /**
     * 用户状态 0，启用
     */
    public static final Integer CUSTOMER_STATUS_DELETE = 0;
    public static final Integer CUSTOMER_STATUS_NORMAL = 1;

    /**
     * 商品状态 1 ，启用、上家,0 :禁用、下架
     */
    public static final String RES_STATUS_DELETE = "0";
    public static final String RES_STATUS_NORMAL = "1";

    /**
     *
     */
    public static final String COUPON_TYPE_HOTEL = "hotel";
    public static final String COUPON_TYPE_SCENE = "scene";
    public static final String COUPON_TYPE_TOUR = "tour";

    public static final int COUPON_TYPE_HOTEL_ID = 0;
    public static final int COUPON_TYPE_SCENE_ID = 1;
    public static final int COUPON_TYPE_TOUR_ID = 2;

    /**
     * 提现申请状态 通过
     */
    public static final String WITHDRAW_STATUS_ORVER = "1";
    /**
     * 体现申请状态 拒绝
     */
    public static final String WITHDRAW_STATUS_REFUSED= "2";
    /**
     * 体现申请状态
     */
    public static final String WITHDRAW_STATUS_NO = "0";

    /************用户审核状态*********/

    /**
     * 未认证
     */
    public static final String CUSTOMER_AUTH_STATUS_NOAUTH="0";
    /**
     * 已认证
     */
    public static final String CUSTOMER_AUTH_STATUS_AUTHED="1";
    /**
     * 未通过
     */
    public static final String CUSTOMER_AUTH_STATUS_NOPASS="2";
    /**
     * 审核中
     */
    public static final String CUSTOMER_AUTH_STATUS_AUTHING = "3";
    public static final String CUSTOMER_AUTH_TYPE__C = "0";
    public static final String CUSTOMER_AUTH_TYPE_B = "1";


    public static final Integer USER_TYPE_PROVIDER_=0;
    public static final Integer USER_TYPE_SHARE=1;
    public static final Integer USER_TYPE_SPREADER=2;
    public static final Integer USER_TYPE_CUSTOMER=3;


    public static final String DISPLAY ="0" ;
    public static final String DISPLAY_DEL="1" ;

    public static final String PLACARD_HOTEL = "PLACARD_HOTEL";
    public static final String PLACARD_ROUTE ="PLACARD_ROUTE" ;
    public static final String PLACARD_SCENE ="PLACARD_SCENE" ;
    public static final String ORDER_IS_NEW = "00";
    public static final String ORDER_IS_OLD = "01";

    public static String MINIPROGRAM_ACCESSTOKEN="miniProgram_accessToken";

    public final static String ORDER_READ_STATUS_0 = "0";
    public final static String ORDER_READ_STATUS_1 = "1";
}
